interface NS {
  name: string;
}
namespace NS {
  class A {
    constructor(
      public a: number,
      public b: number,
      public sum: () => number,
    ) {}
  }
  class B {
    public a: number = 0;
    public b: number = 0;
    public sum(): number {
      return this.a + this.b;
    }
  }
  export type AA = typeof A;
}
// import A = NS.AA;

export = NS;
